package com.yykj.tencent.im.server.bean.callback;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * 添加好友之前回调
 *
 */
@Data
public class PrevFriendAddCallback {
    @JsonProperty("CallbackCommand")
    private String callbackCommand;

    @JsonProperty("Requester_Account")
    private String requesterAccount;

    @JsonProperty("From_Account")
    private String fromAccount;

    @JsonProperty("FriendItem")
    private List<FriendItem> friendItem;

    @JsonProperty("AddType")
    private String addType;

    @JsonProperty("ForceAddFlags")
    private Integer forceAddFlags;

    @JsonProperty("EventTime")
    private Long eventTime;

    @Data
    public static class FriendItem {
        @JsonProperty("To_Account")
        private String toAccount;

        @JsonProperty("Remark")
        private String remark;

        @JsonProperty("GroupName")
        private String groupName;

        @JsonProperty("AddSource")
        private String addSource;

        @JsonProperty("AddWording")
        private String addWording;

    }
}
